//DS18B20 ROM COMMANDS
#define CMD_SEARCH_ROM 0xF0
#define CMD_READ_ROM 0x33
#define CMD_MATCH_ROM 0x55
#define CMD_SKIP_ROM 0xCC
#define CMD_ALARM_SEARCH 0xEC
//DS18B20 FUNCTION COMMANDS
#define CMD_CONVERT_T 0x44
#define CMD_WRITE_SCRATCHPAD 0x4E
#define CMD_READ_SCRATCHPAD 0xBE
#define CMD_COPY_SCRATCHPAD 0x48
#define CMD_RECALL_E2 0xB8
#define CMD_READ_POWER_SUPPLY 0xB4


unsigned char fnOw_Reset(void);
unsigned char fnReadOneBit(void);
void fnWriteOneBit(unsigned char val);
void fnWriteOneByte(unsigned char val);
void fnReadLowByte(void);
void fnReadHighByte(void);
